function updateRating (id_ticket,id_content,id_customer) {
	value = $("#helpdesk-ticket-rating_"+id_content).val ();
	if (value!='') {		
		$.ajax({
			type: 'GET',
			url: baseDir + 'modules/zhelpdesk/ajax/zhelpdesk-ajax.php',
			async: false,
			data: 'rating=1&id_ticket='+id_ticket+'&id_content='+id_content+'&value='+value+'&id_customer='+id_customer,
			success: function(data) {
				if (data!='NO') {
					alert ('Thank You for rating for message!')
				}
			}
		});
	}
}